package com.pixiv.DAO;

import com.pixiv.Entity.RegisterPicture;
import org.apache.ibatis.annotations.Param;

import java.util.ArrayList;

public interface RegisterLoginStateMapping {

    String getNameByPictureID(int id);
    String getPictureByHang(@Param("count") int count);
    void deletePicture(@Param("id") int id);
    ArrayList<RegisterPicture> getPictures(@Param("pictureid") Object picid);
    int getSize();
    void addUserWithLoginParameter(@Param("User") String username, @Param("PWD") String pwd);
    void insertPicture(@Param("id") int id, @Param("path") String path);
}
